<?php



/**
 * Radcodes - SocialEngine Module
 *
 * @category   Application_Extensions
 * @package    Game
 * @copyright  Copyright (c) 2009-2010 Radcodes LLC (http://www.radcodes.com)
 * @license    http://www.radcodes.com/license/
 * @version    $Id$
 * @author     Vincent Van <vincent@radcodes.com>
 */
 
 
 
class Game_Form_Admin_Distributor_Kongregate_Setting extends Engine_Form
{
  public function init()
  {
    $this
      ->setTitle('Game Distributor Settings: Kongregate')
      ->setDescription('These settings affect behavior for this game distributor.');
    
    $this->addElement('Text', 'feed_url', array(
      'label' => 'Feed URL',
      'description' => 'Edit this field only if Kongregate Feed URL has been changed!',
      //'value' => 'http://www.kongregate.com/games_for_your_site.xml',
      'filters' => array(
        'StringTrim'
      ),
      'allowEmpty' => false,
      'required' => true,
    ));
    
    // Add submit button
    $this->addElement('Button', 'submit', array(
      'label' => 'Save Changes',
      'type' => 'submit',
      'ignore' => true
    ));
  }
}